 ~=Readme=~
 ----------
Dnetc ctrl service is the service for the Dnetc Ser Ctrl (v2.0.1.x). It parses the log file of the distributed.net client and when asked serves it up.
Also does some commands fetch/flush/(un)install...

Currently communicates on port 2828

Interesting commands: help & unloadme ;)

In the near future I would like to make it a real service that runs as a Windows background service.

Greatings Damic

WARNING: the pause on low buffer is still experimental and has it issues

Known bugs:
-----------
- Pause function is a little funky sometimes, mostly recovers but sometimes not.

Future:
-------
- Log watching function, so it doesn't need a timer event
- Rewrite the current Care as a class
- UpdateMe() function

Testing:
--------
*nothing*

 ~=Change Log=~
 --------------
V. 24.11.12.0 (12/11/2024)
--------------------------
Removed the tcp jungle that I've written and replaced it with a HttpClient() so it's now a "web server" on port 2828.
If you browse to the server without a command, it will always give back a JSON message stating: "Command not recognized, try help for all the commands"

Fix: Service log file upload
Fix: DNETc log file upload

V. 24.11.05.0 (05/11/2024)
--------------------------
Core update to 2.83
 Chg: added a time check if the parsers couldn't get a lock
 Chg: Internet check has now additional checks as is the network avaible and now 3 sites to ping instead of 2 (cd-pc.be/distributed.net/cloudflare.com) before it returns false

Add: new setting "siteping". Normaly the service will try to ping cd-pc.be/distributed.net/cloudflare.com, but sometimes you want it to ping somewhere else (internal server/pc)
Add: version information when launching or ending the Service to the log file
Add: TCP file sending/receiving (max 8.2MB files)
Add: Service log file upload
Add: new command to get all the buffer filenames
Fix: DNETc log file upload (makes copy first en then starts uploading)
Fix: Could hang sometimes if the DNET client is rapidly writing to the logfile
 >> Add: when trying to fetch and has no internet, then the dnet client will set to pause and when internet is back, it will try to fetch and unpaused the client
 >> Chg: how the log file is read
 >> Chg: in the backgroundworker/timer checking

V. 24.09.26.0 (26/09/2024)
--------------------------
Chg: when taking a backup, date & time will be included, so you don't lose anything ;)
Chg: when in MF mode and "Rename outputbuffer" is enabled date & time will be included in the filename

V. 24.04.03.0 (03/04/2024)
--------------------------
Chg: some code made better
Chg: "?help" commands are now alphabeticly
Chg: start and stop of the dnet client are now handled better (i.e. more sneaky)
Fix: check to see if the client is running or not before we try the (un)pause/fetch/flush
Fix: low buffer test
Fix: read error fix >> restart tcpclient
Fix: some typo's in this changelog

V. 24.03.14.1 (14/03/2024)
--------------------------
Chg: when comparing a string, set the string to lower first (i.e. settings)
Chg: some code cleanups
Fix: automated pause would pause the client when there is no data

V. 23.06.19.0 (19/06/2023)
--------------------------
Fix: output-buffer not found
Fix: Timer: No dnetc ini found on path: [...]
Fix: do stuff when not needed
Add: new megaflush setting: rename output buffer when reaching a amount

V. 23.06.07.5 (07/06/2023)
--------------------------
First release

